<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>test ligerTextBox</title>
<%@include file="../common.jsp" %>
<script src="<c:url value="/ligerUI/js/plugins/ligerTextBox.js"/>" type="text/javascript"></script>

<script type="text/javascript">
<!--
	$(function(){
		var text = $('#txt1').ligerTextBox({
			nullText:'不能为空'
		});
		
		console.log(text.get('disabled'));
	});
//-->
</script>
</head>
<body style="padding:200px;">

<input type="text" id="txt1" value="" style="width:200px"/>
</body>
</html>